package de.eb.webservice.domain;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlTransient;


@XmlRootElement
public class Antwort {
	
	private int id;

	private String antworttext;

	private byte richtig;
	
	private double latitude;
	
	private double longitude;
	
	private int frageId;
	
	

	
	
	

    public Antwort(int id, String antworttext, byte richtig, double longitude,double latitude, int frageId) {
		super();
		this.id = id;
		this.antworttext = antworttext;
		this.richtig = richtig;
		this.longitude = longitude;
		this.latitude = latitude;
		this.frageId = frageId;
		
		
	}

	public Antwort() {
    }
	@XmlElement
	public int getId() {
		return this.id;
	}

	public void setId(int id) {
		this.id = id;
	}
	@XmlElement
	public String getAntworttext() {
		return this.antworttext;
	}

	public void setAntworttext(String antworttext) {
		this.antworttext = antworttext;
	}
	@XmlElement
	public byte getRichtig() {
		return this.richtig;
	}

	public void setRichtig(byte richtig) {
		this.richtig = richtig;
	}
	@XmlElement
	public double getLatitude() {
		return latitude;
	}

	public void setLatitude(double latitude) {
		this.latitude = latitude;
	}
	@XmlElement
	public double getLongitude() {
		return longitude;
	}

	public void setLongitude(double longitude) {
		this.longitude = longitude;
	}

	public int getFrageId() {
		return frageId;
	}

	public void setFrageId(int frageId) {
		this.frageId = frageId;
	}

	
	
}